package com.mark.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Created by Choisaaaa on 2018/6/21
 * 商品实体.
 */
@Entity
@Data
public class ProductInfo {
    @Id
    private String productId;           //商品Id
    private String productName;         //商品名称
    private BigDecimal productPrice;    //单价
    private Integer productStock;       //库存
    private  String productDescription; //商品描述
    private String productIcon;         //小图地址
    private Integer productStatus;      //状态 【0：正常；1：下架】
    private Integer categoryType;       //商品所属类目
}
